page {
    background-color: #f5f5f5;
}

.custom_head_c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--themColor);

    .bar {
        position: absolute;

        .content {
            display: flex;
            align-items: center;

            .page_back {
                padding: 0 24rpx 0 10rpx;
            }

            .search_c {
                flex: 1;
                --cell-font-size: 14px;
                --cell-line-height: 24px;
            }

            .search {
                padding: 0 !important;

            }

            .van-search__content {
                background-color: #AACDC9 !important;
            }

            .search_leftIcon {
                margin-right: 5px;
                width: 15px;
                height: 15px;
            }

            .van-field__placeholder {
                color: var(--themColor) !important;
            }

            @media screen and (max-width: 320px) {

                .search_c {
                    --cell-font-size: 13px;
                    --cell-line-height: 22px;
                }

            }
        }
    }

    .cart_c {
        padding: 0 20rpx;
    }
}

.classification_info_c {
    position: relative;

    .bg {
        width: 100%;
    }

    .classification_info_area {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 420rpx;
        text-align: center;
    }

    .logo {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 100%;
    }
}

.classification_info {
    padding-top: 38rpx;

    .name,
    .label {
        margin-bottom: 8rpx;
        font-size: 26rpx;
    }

    .num_c {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 6rpx;

        .num {
            margin-right: 10rpx;
            font-size: 58rpx;
            font-weight: 600;
        }

        .up_icon,
        .down_icon {
            margin-bottom: 2rpx;
            width: 42rpx;
            height: 46rpx;
        }
    }

    .range {
        display: flex;
        justify-content: center;
        font-size: 24rpx;

        .left {
            margin-right: 16rpx;
        }
    }

    .attrs {
        margin-top: 28rpx;
        display: flex;
        justify-content: center;
        font-size: 24rpx;

        .second {
            padding-left: 20rpx;
        }
    }
}

.screen_c {
    position: sticky;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 28rpx;
    background-color: #fff;

    .item {
        display: flex;
        align-items: center;

        .icon {
            margin-left: 4rpx;
            display: flex;
            align-items: center;
            transform: rotateZ(90deg);
        }


        .triangle {
            border-top: 10rpx solid transparent;
            border-bottom: 10rpx solid transparent;
            width: 0;
            height: 0;

            &.top {
                border-right: 10rpx solid;
            }

            &.bottom {
                margin-left: 4rpx;
                border-left: 10rpx solid;
            }
        }

        .img {
            margin-left: 2rpx;
            width: 30rpx;
            height: 30rpx;
        }
    }

    --dropdown-menu-height: 88rpx;

    .van-dropdown-menu__title {
        padding: 0 16rpx 0 0 !important;
    }

    .van-dropdown-menu {
        box-shadow: none !important;
    }

    .van-dropdown-menu__item {
        justify-content: flex-start !important;
    }

}

.list_c {
    padding-left: 20rpx;
    padding-right: 20rpx;
    padding-top: 20rpx;
}

.list {
    margin-bottom: 20rpx;
    padding: 0 20rpx;
    background-color: #fff;
    border-radius: 10rpx;

    .good_card {
        display: flex;
        padding: 20rpx 0;
        border-bottom: 2rpx solid var(--borderColor);

        .image {
            position: relative;
            flex-shrink: 0;
            width: 186rpx;
            height: 186rpx;
            border-radius: 10rpx;
            overflow: hidden;

            .sold_out {
                position: absolute;
                z-index: 1;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba($color: #000, $alpha: 0.4);
                color: #F6F6F6;
                font-size: 32rpx;
                font-weight: bold;
            }
        }

        .right_content {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding-left: 18rpx;
        }

        .name {
            font-size: 32rpx;
            font-weight: bold;
        }

        .row {
            display: flex;
            align-items: center;

            .first {
                margin-right: 28rpx;
            }
        }

        .row1 {
            margin: 8rpx 0;
            font-size: 24rpx;
            color: var(--themColorGrey);

            .item {
                margin-right: 20rpx;
            }
        }

        .row2 {
            font-size: 24rpx;
            color: var(--themColorGrey);

            .item {
                margin-right: 20rpx;
            }
        }

        .bottom {
            flex: 1;
            align-items: flex-end;
            justify-content: space-between;

            .price {
                display: flex;
                align-items: baseline;
                padding-right: 4rpx;
                color: red;
                font-weight: 600;

                .icon {
                    font-size: 20rpx;
                }

                .num {
                    font-size: 38rpx;
                }

                .old_price {
                    margin-left: 10rpx;
                    text-decoration: line-through;
                    color: var(--themColorGrey);
                    font-weight: 500;
                }
            }

            .button {
                padding: 10rpx 30rpx;
                background: linear-gradient(180deg, #51A993 0%, #0D776E 100%);
                color: #fff;
                border-radius: 8rpx;
            }

        }
    }

    .bottom_bar {
        padding: 20rpx 0;

        .supplier_c {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .supplier {
            display: flex;
            align-items: center;
            color: #515151;

            .text {
                margin: 0 8rpx;
            }

            .icon {
                width: 28rpx;
                height: 28rpx;
            }
        }

        .label_c {
            margin-top: 18rpx;
            display: flex;

            .label {
                flex-shrink: 0;
                padding: 2rpx 10rpx;
                font-size: 20rpx;
                color: #fff;
                border-radius: 5rpx;

                &+.label {
                    margin-left: 16rpx;
                }
            }
        }
    }
}

.sk_good_horizontal {
    margin-bottom: 20rpx;
    padding: 20rpx;
    background-color: #fff;
    border-radius: 10rpx;

    .good_card {
        display: flex;
    }

    .image {
        border-radius: 10rpx;
        overflow: hidden;
    }

    .right_content {
        flex: 1;
        padding-left: 20rpx;
    }

    .bottom_bar {
        padding: 20rpx 0;
    }
}

/*筛选弹出层全部样式*/
.screen_popup_c {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;

    /*隐藏滚动条*/
    ::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .close_able {
        position: absolute;
        right: 28rpx;
        z-index: 10;
    }

    .scroll {
        flex: 1;
        overflow: hidden;
    }

    .brace {
        height: 20rpx;
    }

    .screen_item {
        padding: 28rpx 0;

        .label {
            font-weight: bold;
            color: #000;
        }

        .children_c {
            display: flex;
            flex-wrap: wrap;
            padding-top: 20rpx;

            .children {
                margin: 0 20rpx 20rpx 0;
                text-align: center;
                padding: 12rpx 24rpx;
                min-width: 80rpx;
                background-color: #F8F8F8;
                border-radius: 8rpx;
                color: #868686;
                border: 2rpx solid #F8F8F8;
            }

            .active {
                background-color: var(--themColor);
                color: #fff;
                border: 2rpx solid var(--themColor);
            }
        }
    }

    .button_c {
        padding: 10rpx 28rpx 30rpx;
        box-shadow: 0 -8rpx 12rpx rgba(134, 134, 134, 0.2);

        .reset {
            margin-right: 28rpx;
            width: 200rpx;
            height: 80rpx;
            border-radius: 8rpx;
            font-size: 32rpx;
            color: #333 !important;
        }

        .confirm {
            width: 466rpx;
            height: 80rpx;
            font-size: 32rpx;
            border-radius: 8rpx;
        }
    }
}